import platform = require('../../../../../platform/common/baseCommon');
import appClient = require('../../../../../platform/client/appClient');
import navtabsMainForm = require('../../../../../platform/client/mainForm/navtabs/navtabsMainForm');

/** 应用程序配置 */
export let defaultObject = new appClient.clientApplication();

let mainForm = new navtabsMainForm.navtabsMainForm();

syncRequire('./platform/client/controls');
mainForm.themes = {

    "佛山国税": "stylesheets/theme/FSGS.bootstrap.min.css",
    "佛山工商": "stylesheets/theme/GSSJFX.bootstrap.min.css"

};
mainForm.navPages = [

    {
        $type: "platform.client.tabPanePage",
        id: "usd",
        title: "佛山市注销企业2014年至2017年的情况",
        icon: "usd",
        iconClass: "glyphicon glyphicon-usd",
        view: new platform.lazyFactory("project/dataAnalysis/gsDataAnalysis/config/client/gsfx", "defaultObject"),
        viewStack: new appClient.viewStack()
    },
    {
        $type: "platform.client.tabPanePage",
        id: "usd",
        title: "佛山市投资人基本特征分析",
        icon: "usd",
        iconClass: "glyphicon glyphicon-usd",
        view: new platform.lazyFactory("project/dataAnalysis/gsDataAnalysis/config/client/fstzrfx", "defaultObject"),
        viewStack: new appClient.viewStack()
    }


];
mainForm.title = " 佛山市工商数据分析";
platform.fetchAddonProtoType(mainForm);
defaultObject.mainForm = mainForm;

defaultObject.serverLogger = new appClient.remoteFactory(platform.baseLogger, "remoteCall", "fileLogService");